package org.cuatrovientos.bill;

import static org.junit.Assert.*;

import org.junit.Test;

public class BillTest {

	Bill bill = new Bill();
	
	
	@Test
	public void totalBill() {
		bill.addProduct("Pan", 0.50f, 2);
		assertEquals("Checking total bill", bill.totalBill(), 1f);
	}
	
	@Test
	public void totalBillIVA() {
		bill.addProduct("Pan", 0.50f, 2);
		assertEquals("Checking total bill", bill.totalIVA(), 1.21f);
	}

}
